package com.gitee.hongruisun.promotion.loginadapter;

/**
 * 老系统登录逻辑
 */
public class SiginService {

    /**
     * 注册
     * @param userName
     * @param password
     * @return
     */
    public ResultMsg regist(String userName,String password){
        return new ResultMsg(200,"注册成功",new Member());
    }

    /**
     * 登录
     * @param userName
     * @param password
     * @return
     */
    public ResultMsg login(String userName,String password){
        return new ResultMsg(200,"登录成功",new Member());
    }
}
